package demo3;

class Student {

}
class Teacher {

}
class School {
    //组合 不属于三大特性的一类
    public Student[] students = new Student[3] ;
    //成员变量
    public Teacher[] teachers = new Teacher[3];

}
public class Test {
    public static void main(String[] args) {
        Student[] students = new Student[3];
        students[0] = new Student();
    }

    public static void main1(String[] args) {
        School school = new School();
    }
}
